package com.apes.hr.base.repository;

import com.apes.framework.jpa.repository.CustomRepository;
import com.apes.hr.base.model.SkillLevel;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;


/**
 * @author HuJianLin
 * @create 2018-04-28 16:07
 */
public interface SkillLevelRepository extends CustomRepository<SkillLevel, String>{
    @Query("SELECT T FROM SkillLevel T WHERE 1 = 1 and id = :id  ")
    SkillLevel findByOne(@Param("id") Integer id);

}
